package com.xyh.flowershop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyh.flowershop.domain.Goods;
import com.xyh.flowershop.vo.req.goods.GoodPageReqVo;
import com.xyh.flowershop.vo.req.goods.GoodsEditReqVo;
import com.xyh.flowershop.vo.resp.goods.GoodsRespVo;

import java.util.List;

public interface GoodsService extends IService<Goods> {
    Boolean addGoods(GoodsEditReqVo vo);

    Boolean editGoods(GoodsEditReqVo vo);

    Boolean deleteGoods(List<Long> id);

    IPage<GoodsRespVo> findPageGoods(GoodPageReqVo vo);

    GoodsRespVo findGoods(Long id);


}
